/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.atomojo.app.db;

import org.atomojo.app.auth.AuthService;

/**
 *
 * @author alex
 */
public class DBInfo {
   String name;
   DB db;
   AuthService service;
   String group;
   String alias;

   public DBInfo(String name,DB db,AuthService service,String group,String alias) {
      this.name = name;
      this.db = db;
      this.service = service;
      this.group = group;
      this.alias = alias;
   }

   /**
    * @return the name
    */
   public String getName() {
      return name;
   }

   /**
    * @return the db
    */
   public DB getDB() {
      return db;
   }

   /**
    * @return the service
    */
   public AuthService getAuthService() {
      return service;
   }

   /**
    * @param service the service to set
    */
   public void setAuthService(AuthService service) {
      this.service = service;
   }

   /**
    * @return the group
    */
   public String getGroup() {
      return group;
   }

   /**
    * @param group the group to set
    */
   public void setGroup(String group) {
      this.group = group;
   }

   /**
    * @return the alias
    */
   public String getAlias() {
      return alias;
   }

   /**
    * @param alias the alias to set
    */
   public void setAlias(String alias) {
      this.alias = alias;
   }
}
